<template>
  <div class="trace-node">
    <div class="node-content">
      <strong>操作类型：</strong> {{ node.type }}<br />
      <strong>操作时间：</strong> {{ node.date }}<br />
      <strong>操作数据：</strong> {{ node.data }}<br />
      <strong>当前碳资产：</strong> {{ node.currentAsset }}
    </div>
  </div>
</template>

<script setup>
defineProps(["node"]);
</script>

<style scoped>
.trace-node {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #b0d4ff;
  border-radius: 4px;
  background-color: #e6f7ff;
}
</style>
